﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 角色菜单按钮权限表
    /// </summary>
    [Table("T_RoleMenuAction")]
    public class RoleMenuAction
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
        /// <summary>
        /// 角色Id
        /// </summary>
        public long RoleId { get; set; }
        /// <summary>
        /// 菜单Id
        /// </summary>
        public long MenuId { get; set; }
        /// <summary>
        /// 操作Id
        /// </summary>
        public long? ActionId { get; set; }
        /// <summary>
        /// 是否PDA端
        /// </summary>
        public bool? IsMobile { get; set; }
    }
}
